home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Aventura
/
FireMan.swf
/
scripts
/
frame_2641
/
PlaceObject2_112_162
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2008-09-12
|
540b
|
22 lines
onClipEvent(enterFrame){
if(espera)
{
c++;
if(c > WAIT && i < MAX)
{
espera = false;
generar = true;
i++;
c = 0;
}
}
if(generar)
{
z = _root.aleatorio(10,20);
init = {_x:(_root.aleatorio(0,15) + 1) * 16,_xscale:z,_yscale:z,dx:_root.aleatorio(1.5,2),dy:_root.aleatorio(0.5,1.5),xwide:_root.aleatorio(10,20),mover:true};
_root.snow.duplicateMovieClip("snow" + i,100 + i,init);
generar = false;
espera = true;
}
}